package com.ztgf.shopping.models.service.shop;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.ztgf.shopping.models.bo.shop.ShopAddressBO;
import com.ztgf.shopping.models.bo.shop.ShopAddressSaveBO;
import com.ztgf.shopping.models.dto.shop.ShopAddressDTO;

import java.util.List;

/**
 * 用户常用地址表服务
 *
 * @author zhanghualang
 * @Date 2020-05-27 11:11:21
 */
public interface IShopAddressService extends IService<ShopAddressDTO> {
    boolean add(ShopAddressSaveBO saveBO);

    boolean updateDefault(Long id);

    List<ShopAddressDTO> getAllBuyerAddress(Long shopId);

    Long updateAddress(ShopAddressSaveBO saveBO);
}
